import request from '@/utils/request'

export function http_projectNode_list(page) {
    // console.log("page: ",page)
    return request({
        url: '/proTypeNode/getTypeNodeList',
        method: 'get',
        params:{...page}
    })
}

export function http_projectNode_add(data) {
    return request({
        url: '/proTypeNode/addTypeNode',
        method: 'post',
        data
    })
}

export function http_projectNode_edit(data) {
    return request({
        url: '/proTypeNode/updateTypeNode',
        method: 'post',
        data
    })
}



export function http_projectNode_deleted(params) {
    return request({
        url: '/proTypeNode/deleteTypeNode',
        method: 'delete',
        params: {typeId: params}
    })
}
